package org.jivesoftware.smackx.packet;

import java.util.Date;

public class DelayInfo extends DelayInformation
{
  DelayInformation wrappedInfo;

  public DelayInfo(DelayInformation paramDelayInformation)
  {
    super(paramDelayInformation.getStamp());
    this.wrappedInfo = paramDelayInformation;
  }

  public String getElementName()
  {
    return "delay";
  }

  public String getFrom()
  {
    return this.wrappedInfo.getFrom();
  }

  public String getNamespace()
  {
    return "urn:xmpp:delay";
  }

  public String getReason()
  {
    return this.wrappedInfo.getReason();
  }

  public Date getStamp()
  {
    return this.wrappedInfo.getStamp();
  }

  public void setFrom(String paramString)
  {
    this.wrappedInfo.setFrom(paramString);
  }

  public void setReason(String paramString)
  {
    this.wrappedInfo.setReason(paramString);
  }

  // ERROR //
  public String toXML()
  {
    // Byte code:
    //   0: new 40	java/lang/StringBuilder
    //   3: dup
    //   4: invokespecial 43	java/lang/StringBuilder:<init>	()V
    //   7: astore_1
    //   8: aload_1
    //   9: ldc 45
    //   11: invokevirtual 49	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   14: aload_0
    //   15: invokevirtual 51	org/jivesoftware/smackx/packet/DelayInfo:getElementName	()Ljava/lang/String;
    //   18: invokevirtual 49	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   21: ldc 53
    //   23: invokevirtual 49	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   26: aload_0
    //   27: invokevirtual 55	org/jivesoftware/smackx/packet/DelayInfo:getNamespace	()Ljava/lang/String;
    //   30: invokevirtual 49	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   33: ldc 57
    //   35: invokevirtual 49	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   38: pop
    //   39: aload_1
    //   40: ldc 59
    //   42: invokevirtual 49	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   45: pop
    //   46: getstatic 65	org/jivesoftware/smack/packet/Packet:XEP_0082_UTC_FORMAT	Ljava/text/DateFormat;
    //   49: astore 4
    //   51: aload 4
    //   53: monitorenter
    //   54: aload_1
    //   55: getstatic 65	org/jivesoftware/smack/packet/Packet:XEP_0082_UTC_FORMAT	Ljava/text/DateFormat;
    //   58: aload_0
    //   59: invokevirtual 66	org/jivesoftware/smackx/packet/DelayInfo:getStamp	()Ljava/util/Date;
    //   62: invokevirtual 72	java/text/DateFormat:format	(Ljava/util/Date;)Ljava/lang/String;
    //   65: invokevirtual 49	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   68: pop
    //   69: aload 4
    //   71: monitorexit
    //   72: aload_1
    //   73: ldc 57
    //   75: invokevirtual 49	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   78: pop
    //   79: aload_0
    //   80: invokevirtual 73	org/jivesoftware/smackx/packet/DelayInfo:getFrom	()Ljava/lang/String;
    //   83: ifnull +32 -> 115
    //   86: aload_0
    //   87: invokevirtual 73	org/jivesoftware/smackx/packet/DelayInfo:getFrom	()Ljava/lang/String;
    //   90: invokevirtual 79	java/lang/String:length	()I
    //   93: ifle +22 -> 115
    //   96: aload_1
    //   97: ldc 81
    //   99: invokevirtual 49	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   102: aload_0
    //   103: invokevirtual 73	org/jivesoftware/smackx/packet/DelayInfo:getFrom	()Ljava/lang/String;
    //   106: invokevirtual 49	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   109: ldc 57
    //   111: invokevirtual 49	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   114: pop
    //   115: aload_1
    //   116: ldc 83
    //   118: invokevirtual 49	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   121: pop
    //   122: aload_0
    //   123: invokevirtual 84	org/jivesoftware/smackx/packet/DelayInfo:getReason	()Ljava/lang/String;
    //   126: ifnull +22 -> 148
    //   129: aload_0
    //   130: invokevirtual 84	org/jivesoftware/smackx/packet/DelayInfo:getReason	()Ljava/lang/String;
    //   133: invokevirtual 79	java/lang/String:length	()I
    //   136: ifle +12 -> 148
    //   139: aload_1
    //   140: aload_0
    //   141: invokevirtual 84	org/jivesoftware/smackx/packet/DelayInfo:getReason	()Ljava/lang/String;
    //   144: invokevirtual 49	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   147: pop
    //   148: aload_1
    //   149: ldc 86
    //   151: invokevirtual 49	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   154: aload_0
    //   155: invokevirtual 51	org/jivesoftware/smackx/packet/DelayInfo:getElementName	()Ljava/lang/String;
    //   158: invokevirtual 49	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   161: ldc 83
    //   163: invokevirtual 49	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   166: pop
    //   167: aload_1
    //   168: invokevirtual 89	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   171: areturn
    //   172: astore 5
    //   174: aload 4
    //   176: monitorexit
    //   177: aload 5
    //   179: athrow
    //
    // Exception table:
    //   from	to	target	type
    //   54	72	172	finally
    //   174	177	172	finally
  }
}